package com.imooc.uaa.exception;

import com.imooc.uaa.config.Constants;
import org.zalando.problem.AbstractThrowableProblem;
import org.zalando.problem.Status;

import java.net.URI;

public class UserCredentialsNotExpired extends AbstractThrowableProblem {
    private static final URI TYPE = URI.create(Constants.PROBLEM_BASE_URL + "/user-credentials-not-expired");
    public UserCredentialsNotExpired() {
        super(TYPE, "未授权访问", Status.UNAUTHORIZED, "用户验证已过期，请联系管理员");
    }
}
